package com.rightin.reader.hf.rfidenum;

import java.util.HashMap;

/* loaded from: hf_reader.jar:com/rightin/reader/hf/rfidenum/EnumResults.class */
public enum EnumResults {
    SingleTag(1),
    NoiseBigger(88),
    OK(89),
    CmdNotSupport(144),
    TagDataOver(147),
    NoTag(148),
    Error(149),
    TagLocked(151),
    RoundError(152),
    PwdError(153);
    
    private int intValue;
    private static HashMap<Integer, EnumResults> mappings;

    private static synchronized HashMap<Integer, EnumResults> getMappings() {
        if (mappings == null) {
            mappings = new HashMap<>();
        }
        return mappings;
    }

    EnumResults(int value) {
        this.intValue = value;
        getMappings().put(Integer.valueOf(value), this);
    }

    public int getValue() {
        return this.intValue;
    }

    public static EnumResults forValue(int value) {
        return getMappings().get(Integer.valueOf(value));
    }
}
